Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext


~Tip Zenjumiverikle 16.Apr.03 03:08 PM a Web browser
Applications Development 6.0.1; 6.0 Windows NT



I am currently trying to connect to a DB2 database from an agent. The first time the agent runs the connection is successful. After the first time, each time the agent runs i get the following error:

java.sql.SQLException: java.lang.UnsatisfiedLinkError: Native Library C:\Program Files\SQLLIB\bin\db2jdbc.dll already loaded in another classloader
at COM.ibm.db2.jdbc.app.DB2Driver.<init>(Unknown Source)

- - - - - - - - - - - - - - - -
The db2java.zip is set in the agent properties NOT in notes.ini. The connection is set up in the following way:

url = "jdbc:db2:cart";
Class.forName("COM.ibm.db2.jdbc.app.DB2Driver").newInstance();
con = DriverManager.getConnection( url,"test","test");


Anyone got any ideas on how to fix this?







Agent DB2 connection (~Tip Zenjumiver... 16.Apr.03)
. . Agent DB2 connection *SOLUTION* (~James Opkigenn... 26.Jan.04)





  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

 RSS feedsRSS
All forum posts RSS
All main topics RSS